package com.sandwormz.webcompiler;

/**
 * Created: Jan 16, 2013 1:59:09 PM
 * 
 * @author mbryant
 * 
 */
@SuppressWarnings("serial")
public class PageCompilerException extends Exception {

    protected int line = -1;

    /**
     * @param findLineAtIndex
     * @param e
     */
    public PageCompilerException(final int line, final Exception e) {
        super(e);
        this.line = line;
    }

    /**
     * @param e
     */
    public PageCompilerException(final Throwable e) {
        super(e);
    }

    /**
     * @return the line
     */
    public int getLine() {
        return this.line;
    }

    /**
     * @param line
     *            the line to set
     */
    public void setLine(final int line) {
        this.line = line;
    }

}
